<?php
namespace Controller\Admin\Adsetting;
class Delete extends \Controller\Admin\Adsetting
{
    public $data;
    public $path = array('adsetting', 'adsetting.edit');
    protected $_tpl = 'admin/adsetting/edit';
    public function get($id)
    {
        try {
            $adsettingModel = new \Model\Adsetting();
            $adsettingModel->delete($id);
            redirect('/admin/adsetting');
        } catch (\Exception $e) {
            $this->showError($e->getMessage());
        }
    }

    public function post($id)
    {
    }
}